package com.itzz.spring_zhoneHeng.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itzz.spring_zhoneHeng.pojo.Classification;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ClassificationDao extends BaseMapper<Classification> {


    List<Classification>  queryAll(Classification classification);

//    添加对应的书籍表和分类表
    int addB_C(@Param("id") Integer bid, @Param("classId") Integer classId);
}
